<?php
namespace api\modules\v1\controllers;

use api\modules\v1\models\article\Article;
use yii\helpers\ArrayHelper;
use yii\filters\auth\HttpHeaderAuth;

class ArticleController extends DefaultController
{
    public $modelClass = '';



    public function actionInfo($id = 0) {
        if (\Yii::$app->request->isGet) {
            return (new Article())->getInfo($id);
        }
    }

}
